package com.shopping.huaju.commodity.feign;

import com.shopping.huaju.common.to.SkuReductionTo;
import com.shopping.huaju.common.to.SpuBoundTo;
import com.shopping.huaju.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;


@FeignClient("HuaJuProject-coupon")
public interface CouponFeignService {
    @PostMapping("/coupon/spubounds/save")
    R saveSpusBound(@RequestBody SpuBoundTo spuBoundTo);

    @PostMapping("/coupon/skufullreduction/saveReductionAndLadder")
    R saveSkuReduction(@RequestBody SkuReductionTo skuReductionTo);
}
